import type { IMenuEntity, IEntity } from '@/types'

type MenuSlot = { row: IMenuEntity }

type MenuOmit = Omit<IMenuEntity, keyof IEntity>

interface IMenuFormData extends MenuOmit {
  keepAlive: '0' | '1'
  visible: '0' | '1'
  icon: string
}

export type { IMenuEntity, MenuSlot, IMenuFormData }
